package cn.bravolinks.tools.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * Created by yanqin on 2017/6/4.
 */
public class Task extends BaseDomain {

    private String name;
    private String desc;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date scheduleStartTime;//计划开始时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date scheduleEndTime;//计划结束时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date finalEndTime;//最终结束时间
    private Integer userid;
    private Integer isEnd; //0任务未结束  1任务结束

    public Integer getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Integer isEnd) {
        this.isEnd = isEnd;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getScheduleStartTime() {
        return scheduleStartTime;
    }

    public void setScheduleStartTime(Date scheduleStartTime) {
        this.scheduleStartTime = scheduleStartTime;
    }

    public Date getScheduleEndTime() {
        return scheduleEndTime;
    }

    public void setScheduleEndTime(Date scheduleEndTime) {
        this.scheduleEndTime = scheduleEndTime;
    }

    public Date getFinalEndTime() {
        return finalEndTime;
    }

    public void setFinalEndTime(Date finalEndTime) {
        this.finalEndTime = finalEndTime;
    }
}
